package org.itcast.travel.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class RaceQueryParam {
    private Integer page = 1;//页码
    private Integer pageSize = 10;//每页展示数量
    private Integer votes;//投票数
    private String title;
    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;//作品上传时间
}
